package com.hee.erp.modules.service;

import com.hee.erp.modules.entity.SysUserContract;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hee.erp.vo.UserContractListProperty;
import com.hee.erp.vo.UserHealthReportListProperty;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author weizehong
 * @since 2022-03-06
 */
public interface ISysUserContractService extends IService<SysUserContract> {

    List<SysUserContract> listByUserId(String userId);

    List<SysUserContract> saveUserContracts(List<SysUserContract> list);


    List<UserContractListProperty> getUserContractProperties(String userId);

    List<UserContractListProperty> saveUserContractPropertyList(List<UserContractListProperty> list);

    public List<UserContractListProperty> convertToProperty(List<SysUserContract> contractList);
}
